<template>
  <div class="layout">
    <!-- 顶部导航栏 -->
    <AppHeader />
    
    <!-- 主内容区域 -->
    <main class="main-content">
      <div class="container">
        <router-view />
      </div>
    </main>
    
    <!-- 底部 -->
    <AppFooter />
  </div>
</template>

<script setup lang="ts">
import AppHeader from './AppHeader.vue'
import AppFooter from './AppFooter.vue'
</script>

<style lang="scss" scoped>
.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding: var(--spacing-lg) 0;
  background-color: var(--bg-primary);
}

@media (max-width: 768px) {
  .main-content {
    padding: var(--spacing-md) 0;
  }
}
</style> 